package com.huang.transport;

import com.huang.serializer.CommonSerializer;
import com.huangwei.entity.RpcRequest;

/*
客户端类通用接口
 */
public interface RpcClient {
    int DEFAULT_SERIALIZER = CommonSerializer.KRYO_SERIALIZER;


    Object sendRequest(RpcRequest rpcRequest);

    //void setSerializer(CommonSerializer serializer);
}
